package com.youngball.shiro.dao;

import org.springframework.jdbc.core.support.JdbcDaoSupport;

import javax.annotation.Resource;
import javax.sql.DataSource;

/**
 * Created by liaopingzhu on 16/6/23.
 */
public class AbstractDao extends JdbcDaoSupport {

    @Resource(name = "dataSource")
    public void setSuperDataSource(DataSource dataSource) {
        super.setDataSource(dataSource);
    }

}
